j = Job()
j.name = "ara-DS"
j.application = Athena()
j.application.atlas_exetype = 'PYARA'
j.application.athena_compile = False
j.application.option_file = [ 'SoftElectron.py' ]
j.application.useAthenaPackages = True
j.application.prepare()

j.inputdata = DQ2Dataset()
j.inputdata.dataset ="DS"
j.inputdata.exclude_pattern = [ '*log.tgz*' ]

j.splitter = DQ2JobSplitter()
j.splitter.numsubjobs = 20

j.outputdata = DQ2OutputDataset()
j.outputdata.outputdata = [ 'output.root']

j.backend=Panda()
j.backend.requirements.cloud='US'

j.submit()
